Types for Lexically-Scoped Access Control
نویسندگان
چکیده
We develop a new system for defining and enforcing access control statically. In our system, key-pairsguard access to resources, and the association between key-pairs and resources can be changed at anyprogram point (i.e., the binding is late). Our static system uses an ordering on lexically scoped abstractnames to allow local access control policies to be enforced in other parts of a program. In particular,this means that individual program components can locally refine access control policies and the policieswill be respected by the entire program. The result is a system that can enforce, at compile time, a widevariety of useful, fine-grain access control patterns.
منابع مشابه
Dynamically Scoped Functions for Runtime Modification
The importance of lexically scoped variable and function definitions is acknowledged in almost all programming languages. However, there are only few languages that provide dynamically scoped variables as well in spite of their usefulness. Furthermore, dynamically scoped functions have been largely dismissed. This paper provides a new perspective on dynamically scoped functions and sketches a d...
متن کاملAn Operational Semantics of Lexically-Scoped Dynamic Variables
Lexical and dynamic scoping are the two primary approaches to variable binding in functional programming languages. While medieval Lisp dialects commonly featured dynamic scoping, most languages today emphasize lexical scoping. This is a sensible choice: lexical scoping enables local reasoning about programs at the source code level. Nonetheless, dynamic variables are more appropriate for certa...
متن کاملCompiling with Polymorphic and Polyvariant Flow Types
Optimizing compilers for function-oriented and object-oriented languages exploit type and flow information for efficient implementation. Although type and flow information (both control and data flow) are inseparably intertwined, compilers usually compute and represent them separately. Partially, this has been a result of the usual polymorphic type systems using ∀ and ∃ quantifiers, which are d...
متن کاملLexically scoped distribution: what you see is what you get
We define a lexically scoped, asynchronous and distributed π-calculus, with local communication and process migration. This calculus adopts the network-awareness principle for distributed programming and follows a simple model of distribution for mobile calculi: a lexical scope discipline combines static scoping with dynamic linking, associating channels to a fixed site throughout computation. ...
متن کاملObjects in Oz
The programming language Oz integrates the paradigms of imperative, functional and concurrent constraint programming in a computational framework of unprecedented breadth, featuring stateful programming through cells, lexically scoped higher-order programming, and explicit concurrency synchronized by logic variables. Object-oriented programming is another paradigm that provides a set of concept...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003